package com.vivz.baby.util;

import org.apache.commons.lang3.ArrayUtils;

public class SysoutUtil {
	
	public static final String PIPE = " | ";
	public static final String DDD = " ... ";
	
	public static void sysout(final Object... objects) {
		
		final StringBuffer sb = new StringBuffer();
		sb.append(DDD);
		if (ArrayUtils.isNotEmpty(objects)) {
			sb.append(PIPE);
			for (final Object o : objects) {
				sb.append(o);
				sb.append(PIPE);
			}
		}
		sb.append(DDD);
		System.out.println(sb.toString());
	}
}
